package com.flower.salary.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author baomidou
 * @since 2024-01-17
 */
@TableName("sys_user_salary")
public class SysUserSalary implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 员工编号
     */
    private Integer id;

    /**
     * 员工姓名
     */
    private String name;

    /**
     * 职位
     */
    private String position;

    /**
     * 基础工资
     */
    private BigDecimal basicSalary;

    /**
     * 奖金
     */
    private BigDecimal bonus;

    /**
     * 扣税
     */
    private BigDecimal taxDeduction;

    /**
     * 实发工资
     */
    private BigDecimal netSalary;

    /**
     * 状态 0 1 2
     */
    private Integer state;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public BigDecimal getBasicSalary() {
        return basicSalary;
    }

    public void setBasicSalary(BigDecimal basicSalary) {
        this.basicSalary = basicSalary;
    }

    public BigDecimal getBonus() {
        return bonus;
    }

    public void setBonus(BigDecimal bonus) {
        this.bonus = bonus;
    }

    public BigDecimal getTaxDeduction() {
        return taxDeduction;
    }

    public void setTaxDeduction(BigDecimal taxDeduction) {
        this.taxDeduction = taxDeduction;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public BigDecimal getNetSalary() {
        return netSalary;
    }

    public void setNetSalary(BigDecimal netSalary) {
        this.netSalary = netSalary;
    }

    @Override
    public String toString() {
        return "SysUserSalary{" +
            "id = " + id +
            ", name = " + name +
            ", position = " + position +
            ", basicSalary = " + basicSalary +
            ", bonus = " + bonus +
            ", taxDeduction = " + taxDeduction +
            ", netSalary = " + netSalary +
        "}";
    }
}
